﻿namespace Flowertwig.Utils.Compression.General
{
    /// <summary>
    /// Scanning filters support these operations.
    /// </summary>
    public interface IScanFilter
    {
        /// <summary>
        /// Test a name to see if is 'matches' the filter.
        /// </summary>
        /// <param name="name">The name to test.</param>
        /// <returns>Returns true if the name matches the filter, false if it does not match.</returns>
        bool IsMatch(string name);
    }
}